package pl.edu.pw.perg.compinfodb.dao;

import org.hibernate.Query;

import pl.edu.pw.perg.compinfodb.entities.PhysicalElement;

public class PhysicalElementDAO extends GenericSpringDAO<PhysicalElement> implements IPhysicalElementDAO{

  @Override
  public void deleteAll() {
    Query q = getSession().createQuery("delete from PhysicalElement"); 
    q.executeUpdate();
  }
}
